﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BCDto.TMS.MallInterface
{
    /// <summary>
    /// 派送单
    /// </summary>
    public partial class MallOrderDto
    {
        /// <summary>
        /// 类型 1:获取车型价格 2:确认车型价格获取运输单
        /// </summary>
        public int Type { set; get; }

        /// <summary>
        /// 配送类型 1:跑腿 2:货运
        /// </summary>
        public int DistribitionType { set; get; }

        /// <summary>
        /// 车型ID
        /// </summary>
        public int? VehicleTypeId { set; get; }

        /// <summary>
        /// 仓库标识  O
        /// </summary>
        public string WarehouseID { set; get; }

        /// <summary>
        /// 仓库地址  O
        /// </summary>
        public string WarehouseAddress { set; get; }

        /// <summary>
        /// 订单编号  R
        /// </summary>
        public string MallOrderNo { set; get; }

        /// <summary>
        /// 商城商户编号
        /// </summary>
        public string MallShopNo { get; set; }

        /// <summary>
        /// 邮费支付方式:1-现付，2-到付，3-月结，4-第三方支付 R
        /// </summary>
        public string PayType { set; get; }

        /// <summary>
        /// 快递类型：1-标准 R
        /// </summary>
        public string ExpType { set; get; }  

        /// <summary>
        /// 签收回单：1-需要，0-不需要,默认为0  O
        /// </summary>
        public bool? IsReturnSignBill { set; get; }

        /// <summary>
        /// 保价服务
        /// </summary> 
        public bool IsInsuredPrice { get; set; }


        /// <summary>
        /// 保价金额
        /// </summary>
        public decimal? InsuredPrice { get; set; }

        /// <summary>
        /// 发件人  R
        /// </summary>
        public MallOrderAddressDto Sender { set; get; }

        /// <summary>
        /// 收件人 R
        /// </summary>
        public MallOrderAddressDto Receiver { set; get; }

        /// <summary>
        /// 上门取货时间段:"yyyy-MM-dd HH:mm:ss"格式化，本文中所有时间格式相同 O
        /// </summary>
        public string StartDate { set; get; }
        public string EndDate { set; get; }
        

        /// <summary>
        /// 备注  O
        /// </summary>
        public string Remark { set; get; }

        /// <summary>
        /// 商品列表
        /// </summary>
        public List<MallOrderGoodsDto> MallGoodsList {set;get;}


    }

}
